package 功能实现.管理员角色权限三级.mapper;

import cn.tedu.autoshow.passport.pojo.entity.AdminRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    int insertBatch(AdminRole[] adminRoleArray);

    int deleteByAdminId(Long adminId);

    List<AdminRole> roleListByAdminId(Long adminId);

    List<AdminRole> adminListByRoleId(Long roleId);

}
